package com.baweiwei.goodapi.service.impl;

import com.baweiwei.common.entity.Good;
import com.baweiwei.goodapi.dao.GoodDao;
import com.baweiwei.goodapi.service.GoodService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GoodServiceImpl implements GoodService {
    @Autowired
    private GoodDao goodDao;

    @Override
    public int updateKunCun(Integer goodId, Integer num) {
     return goodDao.updateKuncun(goodId,num);
    }
}
